﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using XMK.Framework.Config;
using XMK.Framework.DataAccess;

namespace XMK.Tadong.WorkflowBiz
{
    public  class WFConfig
    {
        public static readonly DbProvider TadongDbProvider;
        public static readonly string SupplierId;

        static WFConfig()
        {
            //推荐使用根据Web.Config中的connectionStrings配置节的name获取数据库实现
            TadongDbProvider = ConfigHelper.GetDbProvider("TadongDbConn");
            SupplierId = XMK.Utils.ConfigHelper.GetAppSettingValue("SupplierId", "[XMK-]");
        }
    }
}
